<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<script>
			var checkObject =function(){
                this.checkName = function(){
        	    //验证姓名
                },
                this.checkEmail = function(){
         	    //验证邮箱
                 console.log('邮箱');
                },
                this.checkPassword = function(){
         	    //验证密码
                 } 
            }

            var a = new checkObject()
            a.checkEmail()
		</script>
	</body>
</html>
